.pager {
    list-style: none;
    padding-left: 45%;
}
.pager li {
    display: block;
    float: left;
    padding: 0.1em 0.3em;
    border: 1px solid #888;
    margin-right: 0.1em;
}

.pager li:hover {
    background-color: #ccc;
}
.pager li.current {
    background-color: #ccc;
    color: #888;
}

.pager a, .pager a:hover {
    text-decoration: none;
    color: #888;
}